{extend name="Public:public_template" /}
{block name="container"}
<div class="admin-logo">auth后台管理权限</div>
<div class="page-group" style="left: 190px">
    <div id="pageHeader" class="clearfix">
        <ul class="nav navbar-nav">
            {volist name='headerMenuList' id='vo'}
            <li class="navbar-nav-li"><a href="{$vo['sidebarurl']}" datatype="{$vo['menu_id']}" target="sidebar">{$vo['title']}</a></li>
            {/volist}
        </ul>
        <div class="header-sidebar-right">
            <a href="{:url('publicclass/logout')}" style="text-decoration:none" target="_top">退出登录</a>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(function () {
        //start 右边内容跳转URL
        $('.navbar-nav-li').click(function () {
            var menuid = $(this).find('a').attr('datatype');
            $.post("{:url('publicclass/maincontent')}", {menuid: menuid}, function (data) {
                window.parent.frames.main.location.href = data;
            })
        });
        //end 右边内容跳转URL
    })
</script>
{/block}